
<el-breadcrumb separator-class="el-icon-arrow-right" style="font-size: 16px;">
<el-breadcrumb-item :to="{ path: '/' }">
  <i class="el-icon-s-promotion"></i> 后台管理
</el-breadcrumb-item>
<el-breadcrumb-item>轮播图列表</el-breadcrumb-item>
</el-breadcrumb>

<el-divider></el-divider>

<el-table :data="tableData" border style="width: 100%">
<el-table-column prop="id" label="ID" width="60" align="center"></el-table-column>
<el-table-column prop="name" label="名称" width="200" header-align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="description" label="简介" header-align="center" show-overflow-tooltip></el-table-column>
<el-table-column prop="sort" label="排序序号" width="100" align="center"></el-table-column>
<el-table-column label="操作" width="100" align="center">
  <template slot-scope="scope">
    <el-button type="primary" icon="el-icon-edit" circle size="mini"
               @click="showEditFormDialog(scope.row)"></el-button>
    <el-button type="danger" icon="el-icon-delete" circle size="mini"
               @click="openDeleteConfirm(scope.row)"></el-button>
  </template>
</el-table-column>
</el-table>

<!-- 以下是修改相册的弹出表单Dialog -->
<el-dialog title="修改相册" :visible.sync="dialogFormVisible">
<el-form :model="editForm">
  <el-form-item label="名称" :label-width="formLabelWidth">
    <el-input v-model="editForm.name" autocomplete="off"></el-input>
  </el-form-item>
  <el-form-item label="简介" :label-width="formLabelWidth">
    <el-input v-model="editForm.description" autocomplete="off"></el-input>
  </el-form-item>
  <el-form-item label="排序序号" :label-width="formLabelWidth">
    <el-input v-model="editForm.sort" autocomplete="off"></el-input>
  </el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
  <el-button @click="dialogFormVisible = false">取 消</el-button>
  <el-button type="primary" @click="submitEditForm()">确 定</el-button>
</div>
</el-dialog>
  